import Vue from 'vue'
import App from './views/App.vue'
import router from './router'

Vue.config.productionTip = false
//全局资源 优化
import './assets/css/base.css'
import './assets/js/font.js';

//引入vant的配置
import './plugins/vant.js'

// 引入axios的配置
import './plugins/axios.js'

// 引入服务器地址
import {url} from './serve.js';
// 绑定到Vue实例上,让$serveUrl这个属性在整个Vue实例都能使用
Vue.prototype.$serveUrl = url

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')